package com.cq.hd.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cq.hd.member.api.dto.AgentUnBindApplyDto;
import com.cq.hd.member.api.dto.AgentUnBindApplyPageDto;
import com.cq.hd.member.api.vo.AgentUnBindApplyPageVo;
import com.cq.hd.member.po.TbAgentUnBindApplyPo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 经纪人解绑申请记录 Mapper 接口
 * </p>
 */
@Mapper
public interface TbAgentUnBindApplyMapper extends BaseMapper<TbAgentUnBindApplyPo> {
    TbAgentUnBindApplyPo getByDto(AgentUnBindApplyDto agentUnBindApplyDto);

    Integer getWaitAuditCount(Long inviterUserId);

    TbAgentUnBindApplyPo getWaitAuditByApplyUserId(Long userId);

    List<AgentUnBindApplyPageVo> listByDto(AgentUnBindApplyPageDto agentUnBindApplyPageDto);
}
